package com.imau.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imau.bean.Teacher;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;

public interface TeacherMapper extends BaseMapper<Teacher> {


    /**
     * 重写父接口：实现一对多管联
     */
    @Override
    Teacher selectById(Serializable id);


    List<Teacher> selectByDeptId(@Param("did") Serializable did);

}
